package org.carl.base.feishu.bot.model;

import cn.hutool.json.JSONUtil;
import lombok.Data;
import org.carl.base.feishu.bot.enums.MsgTypeEnum;

/**
 * 消息类型
 *
 * @author Carl
 */
@Data
public abstract class MsgModel {
    protected MsgTypeEnum msg_type;
    protected String timestamp;
    protected String sign;
    @Override
    public String toString() {
        return JSONUtil.toJsonStr(this);
    }
}
